package com.elitesland.org.convert;

import com.elitesland.org.entity.EmployeeDO;
import com.elitesland.org.param.EmployeeSave;
import com.elitesland.org.vo.EmployeeVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface EmployeeConvert {

    EmployeeConvert INSTANCE = Mappers.getMapper(EmployeeConvert.class);

    EmployeeDO voToDO(EmployeeVO employee);

    EmployeeVO doToVO(EmployeeDO employee);

    EmployeeDO  saveToDO(EmployeeSave employee);
}
